package com.dom;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * spring boot 启动类
 */
@SpringBootApplication
@ComponentScan(basePackages="com.dom")
@EnableEurekaClient
@EnableFeignClients(basePackages = "com.dom")
public class WebApplication {
    public static void main(String[] args){
        SpringApplication.run(WebApplication.class, args);
    }
}
